//
//  SXheadView.m
//  CollectionText
//
//  Created by heyong on 16/6/25.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "SXheadView.h"

@implementation SXheadView
- (UILabel *)titleLab{
    if(_titleLab==nil){
        _titleLab=[[UILabel alloc]initWithFrame:CGRECTS(10, 20, [UIScreen mainScreen].bounds.size.width-10, 20)];
        _titleLab.textColor=[UIColor colorWithRed:0.19 green:0.19 blue:0.19 alpha:1.00];
        _titleLab.font=[UIFont systemFontOfSize:17.*BIZ];

    }
    return _titleLab;
}
- (instancetype)initWithFrame:(CGRect)frame{
    self=[super initWithFrame:frame];
    if(self){
        [self addSubview:self.titleLab];
    }
    return self;
}

@end
